package cn.sxt.users.dao;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import cn.sxt.common.dao.BaseDao;
import cn.sxt.common.util.PageInfoUtil;
import cn.sxt.users.pojo.Admins;

public interface AdminsDao extends BaseDao<Admins>{
	/* findOne*/
	Admins findOneAdminsService(Map<String,Object> condMap);
	/*save*/
	JSONObject saveService(Admins admins);
	/*update*/
	JSONObject updateService(Admins admins);
	/*delete*/
	JSONObject deleteService(Admins admins);
	/*查询全部*/
	List<Admins> findListAdminsService(Map<String,Object> condMap,PageInfoUtil pageInfoUtil);
}
